package cn.iocoder.yudao.module.wecom.controller.admin.momentlog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 朋友圈记录新增/修改 Request VO")
@Data
public class MomentLogSaveReqVO {

    @Schema(description = "消息id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8036")
    private Long id;

    @Schema(description = "任务类型：1-普通任务；2-定时任务", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "任务类型：1-普通任务；2-定时任务不能为空")
    private Integer jobType;

    @Schema(description = "客户标签数组")
    private List<String> toUserList;

    @Schema(description = "任务执行人")
    private List<String> sender;

    @Schema(description = "发送内容")
    private String content;

    @Schema(description = "原始任务id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14178")
    private String jobid;

    @Schema(description = "附件类型：0-无；1-图片；2-链接", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "附件类型：0-无；1-图片；2-链接不能为空")
    private Integer attachmentType;

    @Schema(description = "图片地址,最多9个")
    private List<String> imgUrl;

    @Schema(description = "链接标题")
    private String linkTitle;

    @Schema(description = "链接描述")
    private String linkDesc;

    @Schema(description = "链接缩略图", example = "https://www.iocoder.cn")
    private String linkPicUrl;

    @Schema(description = "链接地址", example = "https://www.iocoder.cn")
    private String linkUrl;

}